// 导入路由
import { BrowserRouter as Router,Route} from 'react-router-dom'
// 导入页面
import Login from './pages/Login'
import Layout from './pages/Layout'

 function App(){
    return <Router>
    <div>
        <Route path='/login' exact component={Login}></Route>
        <Route path='/layout' exact component={Layout}></Route>

    </div>
</Router>
       
    }
    export default App